﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UpdateManager.UserControls.Event {
    /// <summary>
    /// 下载事件数据类
    /// </summary>
    public class DownloadEventArgs : EventArgs {
        /// <summary>
        /// 下载地址
        /// </summary>
        private string url = String.Empty;
        /// <summary>
        /// 是否正在下载
        /// </summary>
        private bool isDownloading = false;

        /// <summary>
        /// 获取或设置下载地址
        /// </summary>
        public string Url {
            get { return url; }
            set { url = value; }
        }

        /// <summary>
        /// 获取或设置是否正在下载
        /// </summary>
        public bool IsDownloading {
            get { return isDownloading; }
            set { isDownloading = value; }
        }
    }
}
